package com.znf4.ad.server;

import java.util.List;

import com.znf4.ad.entity.Ad;

public interface AdServer {
	
    public void addAd(Ad ad) ; 
	
	public void updateAd(Ad ad) ; 
	
	public void delOneAd(Ad ad) ; 
	
	public void delAllAd(List<Ad> list) ; 
	
    public Ad queryOne(Ad ad) ;
	
	public List<Ad> queryAll(Ad ad) ;

}
